/*
 * CalendarModelListener.java
 *
 * Created on 7-Mar-2010.
 */

package org.calendar.event;

import java.util.EventListener;



/**
 * Interface to listen to CalendarModel change.
 * Add listener to the CalendarModel by using his method
 * <code>addCalendarModelListener</code>.
 * <p>
 * When an event occurs listeners's method <code>calendarModelChanged</code>
 * is invoked.
 *
 * @see org.calendar.DefaultCalendarModel
 * @see org.calendar.event.ModelChangedEvent
 * @see org.calendar.JDaySelector
 * @see org.calendar.JMonthNavigator
 * @see java.util.EventListener
 * 
 * @author Julie Duvillier
 * 
 */
public interface CalendarModelListener
                    extends EventListener {

   /**
    * Invoked when the calendar to display is changed
    * @param evt The model changed event information.
    */
    public void calendarModelChanged (ModelChangedEvent evt);

}
